package com.tokenmaster.aitrade.trade.boll;

/**
 * @author buxinyun
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2018年6月2日
 */
public class Index_Boll_Info {

    // `id` int(11) DEFAULT NULL,
    // `unixtime` bigint(20) DEFAULT NULL,
    // `coinname` varchar(20) DEFAULT NULL,
    // `type` varchar(20) DEFAULT NULL,
    // `upprice` double(15,8) DEFAULT NULL,
    // `downprice` double(15,8) DEFAULT NULL,
    // `double_upprice` double(15,8) DEFAULT NULL,
    // `double_downprice` double(15,8) DEFAULT NULL,
    // `midprice` double(15,8) DEFAULT NULL,
    // `currentprice` double(15,8) DEFAULT NULL,
    // `position` int(11) DEFAULT NULL

    private long unixTime;
    private String symbol;
    private String type;
    private double open;
    private double high;
    private double low;
    private double last;
    private double upPrice;
    private double downPrice;
    private double double_upPrice;
    private double double_downPrice;
    private double midPrice;
    private double currentPrice;
    private int position = 0;
    private String upOrDown;


    private String content;


    public long getUnixTime() {
        return unixTime;
    }

    public void setUnixTime(long unixTime) {
        this.unixTime = unixTime;
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public double getUpPrice() {
        return upPrice;
    }

    public void setUpPrice(double upPrice) {
        this.upPrice = upPrice;
    }

    public double getDownPrice() {
        return downPrice;
    }

    public void setDownPrice(double downPrice) {
        this.downPrice = downPrice;
    }

    public double getDouble_upPrice() {
        return double_upPrice;
    }

    public void setDouble_upPrice(double double_upPrice) {
        this.double_upPrice = double_upPrice;
    }

    public double getDouble_downPrice() {
        return double_downPrice;
    }

    public void setDouble_downPrice(double double_downPrice) {
        this.double_downPrice = double_downPrice;
    }

    public double getMidPrice() {
        return midPrice;
    }

    public void setMidPrice(double midPrice) {
        this.midPrice = midPrice;
    }

    public double getCurrentPrice() {
        return currentPrice;
    }

    public void setCurrentPrice(double currentPrice) {
        this.currentPrice = currentPrice;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    /**
     * @return the upOrDown
     */
    public String getUpOrDown() {
        return upOrDown;
    }

    /**
     * @param upOrDown the upOrDown to set
     */
    public void setUpOrDown(String upOrDown) {
        this.upOrDown = upOrDown;
    }

    public double getOpen() { return open;  }

    public void setOpen(double open) { this.open = open; }

    public double getHigh() {  return high; }

    public void setHigh(double high) {
        this.high = high;
    }

    public double getLow() {
        return low;
    }

    public void setLow(double low) {
        this.low = low;
    }

    public double getLast() {
        return last;
    }

    public void setLast(double last) {
        this.last = last;
    }
}
